package com.hsurosy.infrastructure.persistent.dao;

import com.hsurosy.infrastructure.persistent.po.Award;
import com.hsurosy.infrastructure.persistent.po.StrategyAward;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author Hsu琛君珩
 * @Date 2024-10-14 18:58
 * @Description 抽奖策略奖品 DAO
 * @Version: v1.0.0
 */
@Mapper
public interface IStrategyAwardDao {

    List<StrategyAward> queryStrategyAwardList();

    List<StrategyAward> queryStrategyAwardListByStrategyId(Long strategyId);

    String queryStrategyAwardRuleModels(StrategyAward strategyAward);

    void updateStrategyAwardStock(StrategyAward strategyAward);

    StrategyAward queryStrategyAward(StrategyAward strategyAwardReq);

}
